<?php

use yii\helpers\Html;
use yii\web\NotFoundHttpException;

//chỉ admin mới có quyền
if(Yii::$app->user->isGuest || Yii::$app->user->identity->acc_type!=0)
{
	throw new NotFoundHttpException('The requested page does not exist.');
}
else
{


	/* @var $this yii\web\View */
	/* @var $model app\models\TestAccount */

	$this->title = 'Thêm tài khoản test mới';
//	$this->params['breadcrumbs'][] = ['label' => 'Test Accounts', 'url' => ['index']];
//	$this->params['breadcrumbs'][] = $this->title;
	?>
	<div class="test-account-create">

		<h1><?= Html::encode($this->title) ?></h1>

		<?= $this->render('_form', [
			'model' => $model,
            'arrayProject' => $arrayProject,
		]) ?>

	</div>

<?php
}
?>